home *** CD-ROM | disk | FTP | other *** search
- package com.ms.dxmedia;
-
- import com.ms.com.ComFailException;
- import com.ms.dxmedia.rawcom.DAPath2;
- import com.ms.dxmedia.rawcom.IDABehavior;
- import com.ms.dxmedia.rawcom.IDAPath2;
-
- public class Path2Bvr extends Behavior {
- private IDAPath2 _COMptr;
-
- public Path2Bvr close() {
- try {
- return new Path2Bvr(this.getCOMPtr().Close());
- } catch (ComFailException var3) {
- throw StaticsBase.handleError(var3);
- }
- }
-
- public void setCOMBvr(IDABehavior var1) {
- super.setCOMBvr(var1);
- this._COMptr = (IDAPath2)var1;
- }
-
- public ImageBvr draw(LineStyleBvr var1) {
- try {
- return new ImageBvr(this.getCOMPtr().Draw(var1.getCOMPtr()));
- } catch (ComFailException var4) {
- throw StaticsBase.handleError(var4);
- }
- }
-
- public ImageBvr fill(LineStyleBvr var1, ImageBvr var2) {
- try {
- return new ImageBvr(this.getCOMPtr().Fill(var1.getCOMPtr(), var2.getCOMPtr()));
- } catch (ComFailException var5) {
- throw StaticsBase.handleError(var5);
- }
- }
-
- public static Path2Bvr newUninitBvr() {
- return new Path2Bvr(new DAPath2());
- }
-
- public Path2Bvr(IDAPath2 var1) {
- super(var1);
- this._COMptr = var1;
- }
-
- public Path2Bvr() {
- super((IDABehavior)null);
- this._COMptr = null;
- }
-
- protected Behavior newUninitBehavior() {
- return newUninitBvr();
- }
-
- public IDAPath2 getCOMPtr() {
- return this._COMptr;
- }
-
- public Path2Bvr transform(Transform2Bvr var1) {
- try {
- return new Path2Bvr(this.getCOMPtr().Transform(var1.getCOMPtr()));
- } catch (ComFailException var4) {
- throw StaticsBase.handleError(var4);
- }
- }
-
- public Bbox2Bvr boundingBox(LineStyleBvr var1) {
- try {
- return new Bbox2Bvr(this.getCOMPtr().BoundingBox(var1.getCOMPtr()));
- } catch (ComFailException var4) {
- throw StaticsBase.handleError(var4);
- }
- }
- }
-